const express = require('express')
// 创建路由对象
const router = express.Router()

const goodsCate_handler = require('../router_handler/goodsCate')


// 获取商品分类的列表数据
router.get('/goodscate/:id', goodsCate_handler.getGoodsCate)

// 获取茶书分类数据
router.get('/goodsbookslist', goodsCate_handler.getGoodsBooksList)

// 获取茶学数据
router.get('/goodsxueslist', goodsCate_handler.goodsXueList)

// 获取茶服分类数据
router.get('/goodsyifulist', goodsCate_handler.getGoodsyifuList)


// 导出
module.exports = router